package com.tau.iplayer.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.tau.iplayer.client.models.Track;

public interface YoutubeDataServiceAsync {

	/**
	 * search YouTube for a song title
	 * @param searchTitle the song title to search for in YouTube
	 * @param callback the callback-function which will be called, once 
	 * search has finished
	 */
	void searchVideo(String searchTitle, AsyncCallback<List<Track>> callback);

}
